import { request } from "./request"
import { ArticleTag } from "@/models/tags"
export async function createTag(tag: ArticleTag): Promise<void> {
	await request(`/api/tags/create`, "POST", tag)
}

export async function updateTag(tag: ArticleTag): Promise<void> {
	await request(`/api/tags/update`, "POST", tag)
}

